A few common concepts about Linux folders
PathDescriptive narrative mechanism of file location information. Refers to a path from a folder hierarchy in a tree folder to one of its files. It is divided into relative path and absolute path;
Create, copy, cut, rename, clear, and delete folders in linux. rename a folder in linux.
There is the wwwroot directory under the home directory, and the sinozzz directory under the wwwroot directory, that is,/home/wwwroot/sinozzz
I. Create a
Copy a folder to all scripts with the same name in Linux
Requirement: copy the folder to the Linux directory to overwrite all folders with the same name under the Linux directory.Objective: in Linux, run the script and enter the folder name to copy
Copy a folder to all scripts with the same name in LinuxRequirement: copy the folder to the Linux directory to overwrite all folders with the same name under the Linux directory. Target: Linux, run this script, enter the folder name, And you can
File/folder copy between Linux two serversThe command required to cross-server copy is SCP.----------------------Copy Folder----------------------------------------------Copy the current folder Tempa to the/tmp/wang/folder of the target server 10.127
Reprint Address: http://blog.csdn.net/numbibi/article/details/8026841In the home directory there is a wwwroot directory, wwwroot under the Sinozzz directory, that is/home/wwwroot/sinozzzFirst, Directory creationCreate a new sinozzz123 folder under
VMWare10 Virtual Machine implements drag-and-drop (copy and paste) and folder sharing between the host and the host, and vmware10
Version:
HOST: Windows 7 64-bit flagship Edition
VMWare 10 + Windows 7 64-bit flagship Edition
VMWare 10 +
Our requirement here is to copy all the files in one folder to another folder instead of copying one folder to another.Here, you need to use the-R parameter, which means recursive processing, and all files under the specified directory are processed
The command required to cross-server copy is SCP.---------------------- Copy Folder ----------------------------------------------Copy the current folder Tempa to the/tmp/wang/folder of the target server 10.127.40.25 serverScp-r/tmp/tempa/ [email
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.